﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gmis.Model
{
    /// <summary>
    /// LogUser:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class LogUser
    {
        public LogUser()
        { }
        #region Model
        private string _sid;
        private string _sloginname = "";
        private string _sname = "";
        private string _spassword = "";
        private string _srole = "";
        private bool _lsex = true;
        private bool _lsysflag = false;
        private bool _lenable = true;
        private int _nindex = 0;
        private string _scomment = "";
        private DateTime _dcreatetime = DateTime.Now;
        /// <summary>
        /// 
        /// </summary>
        public string sID
        {
            set { _sid = value; }
            get { return _sid; }
        }
        /// <summary>
        /// 登录名
        /// </summary>
        public string sLoginName
        {
            set { _sloginname = value; }
            get { return _sloginname; }
        }
        /// <summary>
        /// 姓名
        /// </summary>
        public string sName
        {
            set { _sname = value; }
            get { return _sname; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string sPassWord
        {
            set { _spassword = value; }
            get { return _spassword; }
        }
        /// <summary>
        /// 用户角色
        /// </summary>
        public string sRole
        {
            set { _srole = value; }
            get { return _srole; }
        }
        /// <summary>
        /// 性别 0女1男
        /// </summary>
        public bool lSex
        {
            set { _lsex = value; }
            get { return _lsex; }
        }
        /// <summary>
        /// 是否为系统用户
        /// </summary>
        public bool lSysFlag
        {
            set { _lsysflag = value; }
            get { return _lsysflag; }
        }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool lEnable
        {
            set { _lenable = value; }
            get { return _lenable; }
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int nIndex
        {
            set { _nindex = value; }
            get { return _nindex; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string sComment
        {
            set { _scomment = value; }
            get { return _scomment; }
        }
        /// <summary>
        /// 默认创建时间 暂时不用
        /// </summary>
        public DateTime dCreateTime
        {
            set { _dcreatetime = value; }
            get { return _dcreatetime; }
        }
        #endregion Model

    }
}
